home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / binutils / testsuite / config / unix.exp < prev   
Text File  |  1994-09-02  |  2KB  |  60 lines

  1. #   Copyright (C) 1988, 1990, 1991, 1992 Free Software Foundation, Inc.
  2.  
  3. # This program is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2 of the License, or
  6. # (at your option) any later version.
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  10. # GNU General Public License for more details.
  11. # You should have received a copy of the GNU General Public License
  12. # along with this program; if not, write to the Free Software
  13. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  14.  
  15. # Please email any bugs, comments, and/or additions to this file to:
  16. # bug-dejagnu@prep.ai.mit.edu
  17.  
  18. # This file was written by Rob Savoye. (rob@cygnus.com)
  19.  
  20. load_lib util-defs.exp
  21.  
  22. global NM
  23. if ![info exists NM] then {
  24.     set NM [findfile $base_dir/../nm.new $base_dir/../nm.new [transform nm]]
  25. }
  26. global NMFLAGS
  27. if ![info exists NMFLAGS] then {
  28.     set NMFLAGS ""
  29. }
  30. global SIZE
  31. if ![info exists SIZE] then {
  32.     set SIZE [findfile $base_dir/../size]
  33. }
  34. global SIZEFLAGS
  35. if ![info exists SIZEFLAGS] then {
  36.     set SIZEFLAGS ""
  37. }
  38. global OBJDUMP
  39. if ![info exists OBJDUMP] then {
  40.     set OBJDUMP [findfile $base_dir/../objdump]
  41. }
  42. global OBJDUMPFLAGS
  43. if ![info exists OBJDUMPFLAGS] then {
  44.     set OBJDUMPFLAGS ""
  45. }
  46.  
  47. #
  48. # add some basic error trapping. These mostly catch programming error's
  49. # within the tests themselves
  50. #
  51. expect_before {
  52.     buffer_full           { perror "internal buffer is full." }
  53.     "can't open '*'" { perror "Can't open test file." }
  54. }
  55.  
  56.  
  57.  
  58.